package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@SuppressWarnings("serial")
public class CashRemittanceByAgent implements Serializable {

	private long receiptId;
	private String receiptNo;
	private Date createdDate;
	private Date receivedDate;
	private Date modifiedDate;
	private Long modifiedBy;
	private long defaultBranchId;
	private Long createdBy;
	private Long fromAgentId;
	private Long paymentCurrencyId;
	private Long receivedCurrencyId;
	private double rate;
	private double totalPaymentAmt;
	private double totalReceivedAmt;
	private double extraFees;
	private double received;
	private Long bankId;
	private byte status;

	private String fromAgentCode;
	private String fromAgentName;
	private String paymentCurrencyCode;
	private String receivedCurrencyCode;
	private String bankCode;
	private double netAmt;
	private double balance;
	private List<CashRemittanceByAgentDetails> crByAgentDetailList;
	private String rateOperator;
	private long rateId;
	private String rateCode;
	private int transactionType;
	private AgentBalance l_AgentBalance;
	private CashRemittanceByAgentDetails l_detail;
	private Long toagentid;
	private Long tobranchid;
	private double paymentamt;
	private String toAgentCode;
	private String code;
	private String sender;
	private String receiver;
	private String nrc;
	private long hoBranchId;

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getNrc() {
		return nrc;
	}

	public void setNrc(String nrc) {
		this.nrc = nrc;
	}

	public AgentBalance getL_AgentBalance() {
		return l_AgentBalance;
	}

	public void setL_AgentBalance(AgentBalance l_AgentBalance) {
		this.l_AgentBalance = l_AgentBalance;
	}

	public CashRemittanceByAgent() {
		clearProperties();
	}

	public void clearProperties() {

		receiptId = 0;
		receiptNo = "";
		createdDate = new Date();
		receivedDate = new Date();
		defaultBranchId =0;
		createdBy = null;
		fromAgentId= null;
		setModifiedDate(new Date());
		modifiedBy = null;
		paymentCurrencyId = null;
		receivedCurrencyId = null;
		setRate(0);
		setTotalPaymentAmt(0);
		setTotalReceivedAmt(0);
		setExtraFees(0);
		setReceived(0);

		fromAgentCode = "";
		fromAgentName = "";
		paymentCurrencyCode = "";
		receivedCurrencyCode = "";
		bankCode = "";
		setNetAmt(0);
		setBalance(0);
		crByAgentDetailList = new ArrayList<CashRemittanceByAgentDetails>();
		rateOperator = "";
		setRateCode("");
		transactionType=0;
		rateId=0;
		l_AgentBalance = null;
		l_detail = null;
		toagentid=null;
		tobranchid=null;
		paymentamt=0;
        toAgentCode = "";
        code="";
        sender="";
        receiver="";
        nrc="";
        hoBranchId=0;
        bankId = null;
	}

	public long getReceiptId() {
		return receiptId;
	}

	public void setReceiptId(long receiptId) {
		this.receiptId = receiptId;
	}

	public String getReceiptNo() {
		return receiptNo;
	}

	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Date getReceivedDate() {
		return receivedDate;
	}

	public void setReceivedDate(Date receivedDate) {
		this.receivedDate = receivedDate;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public Long getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(Long modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public long getDefaultBranchId() {
		return defaultBranchId;
	}

	public void setDefaultBranchId(long defaultBranchId) {
		this.defaultBranchId = defaultBranchId;
	}

	public Long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

	public Long getFromAgentId() {
		return fromAgentId;
	}

	public void setFromAgentId(Long fromAgentId) {
		this.fromAgentId = fromAgentId;
	}

	public Long getPaymentCurrencyId() {
		return paymentCurrencyId;
	}

	public void setPaymentCurrencyId(Long paymentCurrencyId) {
		this.paymentCurrencyId = paymentCurrencyId;
	}

	public Long getReceivedCurrencyId() {
		return receivedCurrencyId;
	}

	public void setReceivedCurrencyId(Long receivedCurrencyId) {
		this.receivedCurrencyId = receivedCurrencyId;
	}

	public double getRate() {
		return rate;
	}

	public void setRate(double rate) {
		this.rate = rate;
	}

	public double getTotalPaymentAmt() {
		return totalPaymentAmt;
	}

	public void setTotalPaymentAmt(double totalPaymentAmt) {
		this.totalPaymentAmt = totalPaymentAmt;
	}

	public double getTotalReceivedAmt() {
		return totalReceivedAmt;
	}

	public void setTotalReceivedAmt(double totalReceivedAmt) {
		this.totalReceivedAmt = totalReceivedAmt;
	}

	public double getExtraFees() {
		return extraFees;
	}

	public void setExtraFees(double extraFees) {
		this.extraFees = extraFees;
	}

	public double getReceived() {
		return received;
	}

	public void setReceived(double received) {
		this.received = received;
	}

	public Long getBankId() {
		return bankId;
	}

	public void setBankId(Long bankId) {
		this.bankId = bankId;
	}

	public byte getStatus() {
		return status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}

	public String getFromAgentCode() {
		return fromAgentCode;
	}

	public void setFromAgentCode(String fromAgentCode) {
		this.fromAgentCode = fromAgentCode;
	}

	public String getFromAgentName() {
		return fromAgentName;
	}

	public void setFromAgentName(String fromAgentName) {
		this.fromAgentName = fromAgentName;
	}

	public String getPaymentCurrencyCode() {
		return paymentCurrencyCode;
	}

	public void setPaymentCurrencyCode(String paymentCurrencyCode) {
		this.paymentCurrencyCode = paymentCurrencyCode;
	}

	public String getReceivedCurrencyCode() {
		return receivedCurrencyCode;
	}

	public void setReceivedCurrencyCode(String receivedCurrencyCode) {
		this.receivedCurrencyCode = receivedCurrencyCode;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public double getNetAmt() {
		return netAmt;
	}

	public void setNetAmt(double netAmt) {
		this.netAmt = netAmt;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	public List<CashRemittanceByAgentDetails> getCrByAgentDetailList() {
		return crByAgentDetailList;
	}

	public void setCrByAgentDetailList(
			List<CashRemittanceByAgentDetails> crByAgentDetailList) {
		this.crByAgentDetailList = crByAgentDetailList;
	}

	public String getRateOperator() {
		return rateOperator;
	}

	public void setRateOperator(String rateOperator) {
		this.rateOperator = rateOperator;
	}

	public long getRateId() {
		return rateId;
	}

	public void setRateId(long rateId) {
		this.rateId = rateId;
	}

	public String getRateCode() {
		return rateCode;
	}

	public void setRateCode(String rateCode) {
		this.rateCode = rateCode;
	}

	public int getTransactionType() {
		return transactionType;
	}

	public void setTransactionType(int transactionType) {
		this.transactionType = transactionType;
	}

	public CashRemittanceByAgentDetails getL_detail() {
		return l_detail;
	}

	public void setL_detail(CashRemittanceByAgentDetails l_detail) {
		this.l_detail = l_detail;
	}

	public Long getToagentid() {
		return toagentid;
	}

	public void setToagentid(Long toagentid) {
		this.toagentid = toagentid;
	}

	public Long getTobranchid() {
		return tobranchid;
	}

	public void setTobranchid(Long tobranchid) {
		this.tobranchid = tobranchid;
	}

	public double getPaymentamt() {
		return paymentamt;
	}

	public void setPaymentamt(double paymentamt) {
		this.paymentamt = paymentamt;
	}

	public String getToAgentCode() {
		return toAgentCode;
	}

	public void setToAgentCode(String toAgentCode) {
		this.toAgentCode = toAgentCode;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public long getHoBranchId() {
		return hoBranchId;
	}

	public void setHoBranchId(long hoBranchId) {
		this.hoBranchId = hoBranchId;
	}

}
